package com.serve.oa.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@Data
public class UserDto implements Serializable {

    @NotBlank(message = "用户名不能为空")
    private String name;

    @NotBlank(message = "密码不能为空")
    private String passWord;

    //@NotBlank(message = "code不能")
    private String code;
}
